//@author A0105543N
#ifndef HELPER_H
#define HELPER_H

#define maxnoperation 10  //maximum operation allowed to undo
#define maxnlength 30    //maximum length for name,venue and payer
#include <iostream>
#include <string>
#include <sstream>
#include <time.h>
#include <iomanip>
#include <cstring>

using namespace std;

static char m_months[13][10] = {"", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sept", "Oct", "Nov", "Dec"};//convert month integer to more readable form 

class Helper{
public:
	static bool checkDate(string);
	//pre:take in a string type date
	//post:check whether it is a valid date format
	static string dayString(string);
	//pre:take in a string type date
	//post:return a more readable string form
};

#endif